setTextListLevel

abstract fun setTextListLevel(block: DesignBlock, listLevel: Int, paragraphIndex: Int = -1)

Sets the list nesting level for a specific paragraph or all paragraphs of a text block. Required scope: "text/character"

Parameters

block

the text block whose list level should be changed.

listLevel

the list nesting level (0 = outermost).

paragraphIndex

the 0-based index of the paragraph to modify. Negative values apply to all paragraphs.